﻿using System.Collections;
public class Ability
{
    public string Name;
    public float mCD;
    public float CD { get { return mCD; } }

    Effect mEffect;
    public virtual void OnLoad(string abilityName,Hashtable tableData)
    {
        string effectName = (string)tableData[":Effect"];
        this.mEffect = EffectManager.Instance.CreateEffect(effectName);
    }

    public void Exec()
    {

    }
}
